x86/hvm: fix operator precedence bug introduced by 3d4d4f9336
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 3 Sep 2014 13:06:06 +0000 (15:06 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 3 Sep 2014 13:06:06 +0000 (15:06 +0200)
commit24857896a30105b7947e2cd36d63768054538bbc
tree1c72e51bd9952dae53ba0e6dccb093e5e85dcaa7
parentc428c9f162895cb3473fab26d23ffbf41a6f293d
x86/hvm: fix operator precedence bug introduced by 3d4d4f9336

Bitwise or has greater precedence than the ternary operator, making the result
of the expression a constant P2M_UNSHARE.

Coverity-ID: 1234633
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Don Slutz <dslutz@verizon.com>
xen/arch/x86/hvm/hvm.c